package suites.stub {
	import org.splink.deepsplink.injector.IPageInjector;
	import org.splink.deepsplink.page.IPage;

	/**
	 * @author Max Kugland
	 */
	public class InjectorStub implements IPageInjector {
		private var _fnc : Function;

		public function InjectorStub(fnc : Function) {
			_fnc = (fnc != null) ? fnc : function(page : IPage): void {
			};
		}

		public function injectPage(page : IPage) : void {
			_fnc(page);
		}
	}
}